package com.yourenbang.lingyun.transaction.mapper;

import com.yourenbang.transaction.api.model.vo.manage.ExportT1WithdrawBillVO;
import com.yourenbang.transaction.api.model.vo.manage.QueryT1WithdrawBillVO;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.util.List;

public interface TransactionFundAccountWithdrawPaymentBillMapper {

    /**
     * 更新成功笔数及金额
     */
    int updateActualCount(
            @Param("batchNumber") String batchNumber,
            @Param("payChannelType") Short payChannelType,
            @Param("platNo") Short platNo,
            @Param("amount") BigDecimal amount);

    /**
     * 更新失败笔数及金额
     */
    int updateFailCount(
            @Param("batchNumber") String batchNumber,
            @Param("payChannelType") Short payChannelType,
            @Param("platNo") Short platNo,
            @Param("amount") BigDecimal amount);
    /**
     * 查询日结账单
     */
     List<QueryT1WithdrawBillVO> queryPaymentBill(
            @Param("batchNumberBegin") String batchNumberBegin,
            @Param("batchNumberEnd") String batchNumberEnd);
    /**
     * 查询日结账单导出
     */
     List<ExportT1WithdrawBillVO> queryPaymentBillExport(
            @Param("batchNumberBegin") String batchNumberBegin,
            @Param("batchNumberEnd") String batchNumberEnd);
}